package com.sanjiahantang.youjiarole.module.common.views;

import android.support.v4.app.FragmentManager;

import com.sanjiahantang.uilibrary.drawable.CartDrawable;
import com.sanjiahantang.youjiarole.base.BaseView;

/**
 * Created by zy on 2017/8/31.
 */

public interface MainView extends BaseView {

    String TAG_HOME = "homeFragment";//主页
    String TAG_PROJECT = "projectListFragment";//项目
    String TAG_ORDER_TAKE = "orderTakeFragment";//接单
    String TAG_CART = "shoppingCartFragment";//购物车
    String TAG_ME = "meFragment";//个人

    String TAGS[] = new String[]{
            TAG_HOME,
            TAG_PROJECT,
            TAG_ORDER_TAKE,
            TAG_CART,
            TAG_ME
    };

    FragmentManager getFManager();

    void setButtonImage(CartDrawable cartDrawable);

    void startFragment(int flag);

    CartDrawable getCartDrawable(int i);

    boolean isFirstPage();

    void dealBottomButtonsClickEvent();

    void close();


}
